package cn.edu.glut.choosethesis.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.edu.glut.entity.Subject;
import cn.edu.glut.vo.SubjectToTeacherVO;

/**
 * 
 * @author Caizhfy
 * @version v.0.1
 * @createTime 2017年12月13日下午9:29:08
 * @email Caizhfy@163.com
 * @description
 *
 */
public interface SubjectService {

	int save(Subject s);

	void delete(String id);

	int update(Subject s);

	Subject findById(String id);

	Page<SubjectToTeacherVO> list(Pageable pageable, Boolean isSelect, String titleLike, String teacherId, String majorId, String studentId);

	void deleteAll();

}
